const router = require('koa-router')()
const createTask = require('./controller/createTask')
const agvCallback = require('./controller/agvCallback')

// 01任务接受
router.post('/mes/restful/api/v3/createTask', ctx => createTask.main(ctx))

router.post('/mes/restful/api/v3/agv/callback', ctx => agvCallback.callback(ctx))

module.exports = router